package com.xinghou.platform.model.main;

import java.util.Date;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

    /**
     *用户表
     */
    private static final long serialVersionUID = -7468974736920168914L;
    private Integer userid; //用户id
    private Integer infoid; //
    private Integer geoid; //位置id
    private Integer appid; //手机唯一标识
    private Integer statid;
    private String password; //密码
    private String phonenumber; //手机号
    private Short sex; //性别
    private Short ostype;
    private Short usertype; //用户类型
    private Short headstatus;
    private String provincecode; //省份编码
    private String provincename; //省份名称
    private String citycode; //城市code
    private String cityname; //城市名称
    private Short status; //用户状态
    private Long createtime; //创建时间
    private Long updatetime; //修改时间
    private Short regstatus;//注册状态
    private String nickname; //昵称
    private Date birthday;//生日
    private String signature;//签名
    private Integer headid;  //头像id
    private String qqid;  //qqid
    private String qqnickname; //qq昵称
    private String wxid; //微信id
    private String wxnickname; //微信昵称
    private String wbid; //微博id
    private String wbnickname; //微博昵称
    private String closuretime; //封禁时间
    private String closurereason; //封禁原因
    private String adcode;
    private String isreal;
    private String operator;
    private String ad_code;
    private String ad_code_province;
    private String ad_code_city;
    private String ad_code_region;
    private Integer platform;
    private Long operatetime; //封号操作时间

    //邀请人用户id
    private Integer inviteuid;

    public Integer getInviteuid() {
        return inviteuid;
    }

    public void setInviteuid(Integer inviteuid) {
        this.inviteuid = inviteuid;
    }

    public String getIsreal() {
        return isreal;
    }

    public String getOperator() {
        return operator;
    }

    public User setOperator(String operator) {
        this.operator = operator;
        return this;
    }

    public User setIsreal(String isreal) {
        this.isreal = isreal;
        return this;
    }

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode;
    }
    //是否有卡

    public String getHascard() {
        return hascard;
    }

    public void setHascard(String hascard) {
        this.hascard = hascard;
    }

    private String hascard;

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }

    public String getClosurereason() {
        return closurereason;
    }

    public User setClosurereason(String closurereason) {
        this.closurereason = closurereason;
        return this;
    }

    public String getClosuretime() {
        return closuretime;
    }

    public User setClosuretime(String closuretime) {
        this.closuretime = closuretime;
        return this;
    }

    private String name; //用户姓名
    private Integer storeid; //所属店铺(废弃)
    private Integer qqstate; //qq状态 0未绑定 1绑定
    private Integer wbstate; //微博状态 0未绑定  1绑定
    private Integer wxstate; //微信状态 0未绑定 1绑定
    private Double longitude;//位置精度
    private Double latitude;//位置纬度
    private String headurl; //头像url
    private String intr; //个人介绍
    private String ageyear;//年龄段 1975-2015
    //个人标签
    private String taste;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getInfoid() {
        return infoid;
    }

    public void setInfoid(Integer infoid) {
        this.infoid = infoid;
    }

    public Integer getGeoid() {
        return geoid;
    }

    public void setGeoid(Integer geoid) {
        this.geoid = geoid;
    }

    public Integer getAppid() {
        return appid;
    }

    public void setAppid(Integer appid) {
        this.appid = appid;
    }

    public Integer getStatid() {
        return statid;
    }

    public void setStatid(Integer statid) {
        this.statid = statid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Short getSex() {
        return sex;
    }

    public void setSex(Short sex) {
        this.sex = sex;
    }

    public Short getOstype() {
        return ostype;
    }

    public void setOstype(Short ostype) {
        this.ostype = ostype;
    }

    public Short getUsertype() {
        return usertype;
    }

    public void setUsertype(Short usertype) {
        this.usertype = usertype;
    }

    public Short getHeadstatus() {
        return headstatus;
    }

    public void setHeadstatus(Short headstatus) {
        this.headstatus = headstatus;
    }

    public String getProvincecode() {
        return provincecode;
    }

    public void setProvincecode(String provincecode) {
        this.provincecode = provincecode;
    }

    public String getProvincename() {
        return provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename;
    }

    public String getCitycode() {
        return citycode;
    }

    public void setCitycode(String citycode) {
        this.citycode = citycode;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public Short getRegstatus() {
        return regstatus;
    }

    public void setRegstatus(Short regstatus) {
        this.regstatus = regstatus;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Integer getHeadid() {
        return headid;
    }

    public void setHeadid(Integer headid) {
        this.headid = headid;
    }

    public String getQqid() {
        return qqid;
    }

    public void setQqid(String qqid) {
        this.qqid = qqid;
    }

    public String getQqnickname() {
        return qqnickname;
    }

    public void setQqnickname(String qqnickname) {
        this.qqnickname = qqnickname;
    }

    public String getWxid() {
        return wxid;
    }

    public void setWxid(String wxid) {
        this.wxid = wxid;
    }

    public String getWxnickname() {
        return wxnickname;
    }

    public void setWxnickname(String wxnickname) {
        this.wxnickname = wxnickname;
    }

    public String getWbid() {
        return wbid;
    }

    public void setWbid(String wbid) {
        this.wbid = wbid;
    }

    public String getWbnickname() {
        return wbnickname;
    }

    public void setWbnickname(String wbnickname) {
        this.wbnickname = wbnickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStoreid() {
        return storeid;
    }

    public void setStoreid(Integer storeid) {
        this.storeid = storeid;
    }

    public Integer getQqstate() {
        return qqstate;
    }

    public void setQqstate(Integer qqstate) {
        this.qqstate = qqstate;
    }

    public Integer getWbstate() {
        return wbstate;
    }

    public void setWbstate(Integer wbstate) {
        this.wbstate = wbstate;
    }

    public Integer getWxstate() {
        return wxstate;
    }

    public void setWxstate(Integer wxstate) {
        this.wxstate = wxstate;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getHeadurl() {
        return headurl;
    }

    public void setHeadurl(String headurl) {
        this.headurl = headurl;
    }

    public String getIntr() {
        return intr;
    }

    public void setIntr(String intr) {
        this.intr = intr;
    }

    public String getAgeyear() {
        return ageyear;
    }

    public void setAgeyear(String ageyear) {
        this.ageyear = ageyear;
    }

    public UserInfo toUserInfo()
    {
       UserInfo userInfo=new UserInfo();
        return userInfo;
    }

    public String getAd_code() {
        return ad_code;
    }

    public User setAd_code(String ad_code) {
        this.ad_code = ad_code;
        return this;
    }

    public String getAd_code_city() {
        return ad_code_city;
    }

    public User setAd_code_city(String ad_code_city) {
        this.ad_code_city = ad_code_city;
        return this;
    }

    public String getAd_code_province() {
        return ad_code_province;
    }

    public User setAd_code_province(String ad_code_province) {
        this.ad_code_province = ad_code_province;
        return this;
    }

    public String getAd_code_region() {
        return ad_code_region;
    }

    public User setAd_code_region(String ad_code_region) {
        this.ad_code_region = ad_code_region;
        return this;
    }

    public Long getOperatetime() {
        return operatetime;
    }

    public User setOperatetime(Long operatetime) {
        this.operatetime = operatetime;
        return this;
    }

    public Integer getPlatform() {
        return platform;
    }

    public User setPlatform(Integer platform) {
        this.platform = platform;
        return this;
    }
}